//app.js
App({
  onLaunch: function () {
    this.globalData = {}
  },
  onShareAppMessage: function () {
    return {
      title: '朝云JOIN',
      path: '/pages/index/index',
    }
  },
  buy(e) {
    wx.navigateTo({
      url: "../containerSpace/containerSpace"
    })
  },
  routerGo(e) {
    let page = e.currentTarget.dataset.page;
    wx.navigateTo({
      url: `../${page}/${page}`
    })
  },
  onPageNotFound(res) {
    wx.reLaunch({
      url: 'pages/index/index'
    }) // 如果是 tabbar 页面，请使用 wx.switchTab
  }
})
